package cn.stylefeng.guns.modular.wordstudy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 单词例句
 * </p>
 *
 * @author 
 * @since 2020-11-24
 */
@TableName("thesis_rmb_sentence")
public class Sentence implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * word表主键
     */
    @TableField("word_id")
    private Integer wordId;

    /**
     * 中文
     */
    @TableField("content_cn")
    private String contentCn;

    /**
     * 英语
     */
    @TableField("content_en")
    private String contentEn;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getWordId() {
        return wordId;
    }

    public void setWordId(Integer wordId) {
        this.wordId = wordId;
    }

    public String getContentCn() {
        return contentCn;
    }

    public void setContentCn(String contentCn) {
        this.contentCn = contentCn;
    }

    public String getContentEn() {
        return contentEn;
    }

    public void setContentEn(String contentEn) {
        this.contentEn = contentEn;
    }

    @Override
    public String toString() {
        return "Sentence{" +
        "id=" + id +
        ", wordId=" + wordId +
        ", contentCn=" + contentCn +
        ", contentEn=" + contentEn +
        "}";
    }
}
